﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Reader
{
    public static class ReaderConfig
    {
        public static bool AutoSave = false;
        /// <summary>
        ///是否读取本地Sites文件夹文件
        /// </summary>
        public static bool IsUseLoaclBook = false;
        public static int AutoReadChapter = 3;
        /// <summary>
        /// 最小缓存时间
        /// </summary>
        /// bookPage,top,bookcontent，最后的章节使用。不能过长，否则有更新时不能刷新
        public static TimeSpan MinCacheTime = new TimeSpan(0, 30, 0);
        /// <summary>
        /// chatper（除去最后一章）使用。
        /// </summary>
        public static TimeSpan MaxCacheTime = new TimeSpan(24, 0, 0);
    }
}
